<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div id="box">aaaa</div>
<script>
    var box = document.getElementById('box');
    box.mm='bbb';
</script>
</body>
</html>